﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebHandler
{
    public class MethodBeforeAdvice:Spring.Aop.IMethodBeforeAdvice  
    {

        public void Before(System.Reflection.MethodInfo method, object[] args, object target)
        {
            string s = "11";
            
            //拦截方法备注
            method.GetCustomAttributes(true);

            //拦截类备注
            method.DeclaringType.GetCustomAttributes(true);

         
            
        }
    }
}